package cm309.BookingSystem.common;

public class ResponseJson<T> {
    String message;
    boolean success;
    String title;
    T o;
    public T getO() {
		return o;
	}

	public void setO(T o) {
		this.o = o;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public ResponseJson(String message, boolean success,String title) {
    	this.message=message;
    	this.success=success;
    	this.title=title;
    }
    
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
    
}
